﻿using System.ComponentModel;

namespace NetCore.Entities
{
    /// <summary>
    /// 附件基类
    /// </summary>
    [Description("附件基类")]
    public class BaseAttachmentEntity : BaseEntity
    {
        /// <summary>
        /// 文件在服务器上的物理路径
        /// </summary>
        [Description("文件路径")]
        public string FilePath { get; set; }
        /// <summary>
        /// 文件相对于网站根目录的虚拟路劲  网站根目录\\虚拟路劲   组合就成为了真实虚拟路劲
        /// </summary>
        [Description("文件相对于网站根目录的虚拟路劲")]
        public string VirtualPath { get; set; }
        /// <summary>
        /// 文件顺序使用decimal类型排序更好
        /// </summary>
        [Description("文件顺序")]
        public decimal? Order { get; set; }
    }
}
